@echo off & setlocal enabledelayedexpansion

set JAVA_HOME=G:\jdk1.7.0_80
set PATH=%JAVA_HOME%\bin;%PATH%
set INCLUDE=%JAVA_HOME%\include;%JAVA_HOME%\include\win32;%VC_HOME%\include;%INCLUDE%
set LIB=%JAVA_HOME%\lib;%LIB%
set CLASSPATH=%JAVA_HOME%\lib\tools.jar

set LIB_JARS=""
set IMAGE=""
cd lib
if ""%1"" == ""debug"" goto debug
for %%i in (*) do set LIB_JARS=!LIB_JARS!;..\lib\%%i
for %%i in (*) do set IMAGE = !IMAGE!; ..\image\%%i
:end